home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
newstart
/
newst2.frm
< prev
next >
Wrap
Text File
|
1995-09-06
|
2KB
|
68 lines
VERSION 2.00
Begin Form Form2
BorderStyle = 0 'None
Caption = "Show"
ClientHeight = 1140
ClientLeft = 3015
ClientTop = 2520
ClientWidth = 3465
Height = 1545
Left = 2955
LinkMode = 1 'Source
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1140
ScaleWidth = 3465
Top = 2175
Width = 3585
Begin PictureBox Picture1
AutoSize = -1 'True
Height = 720
Left = -15
ScaleHeight = 690
ScaleWidth = 3345
TabIndex = 0
Top = 0
Width = 3375
End
End
Sub Form_Click ()
Screen.MousePointer = 1
Reset
Unload Form2
form1.Show
End Sub
Sub Form_GotFocus ()
Form2.WindowState = 2
Picture1.Picture = LoadPicture(form1.file1.filename)
' Picture1.Visible = -1
' Screen.MousePointer = 10
' Picture1.AutoSize = -1
' Picture1.Left = (Screen.Width - Picture1.Width) / 2 + 20
' Picture1.Top = (Screen.Height - Picture1.Height) / 2 + 20
End Sub
Sub Form_KeyDown (KeyCode As Integer, Shift As Integer)
Form_Click
End Sub
Sub Form_Load ()
Form_GotFocus
End Sub
Sub Picture1_Click ()
Form_Click
End Sub
Sub Picture1_GotFocus ()
Screen.MousePointer = 10
End Sub
Sub Picture1_KeyDown (KeyCode As Integer, Shift As Integer)
Form_Click
End Sub